
	import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
		
public class Ler {


		private String fileName = "res\\Teste.txt";
		
		public ArrayList<String> LerTexto() throws IOException, FileNotFoundException{		
			FileInputStream stream = new FileInputStream(fileName);
			InputStreamReader streamReader = new InputStreamReader(stream);
			BufferedReader reader = new BufferedReader(streamReader);
			ArrayList<String> texto = new ArrayList<String>();

				
				String line = "";
				while((line = reader.readLine())!=null){
					texto.add(line);
				}
				return texto;
		}
}
